/*
 * An XML document type.
 * Localname: startbatch
 * Namespace: http://api.clickatell.com/soap/webservice
 * Java type: com.clickatell.api.soap.webservice.StartbatchDocument
 *
 * Automatically generated - do not modify.
 */
package com.clickatell.api.soap.webservice;


/**
 * A document containing one startbatch(@http://api.clickatell.com/soap/webservice) element.
 *
 * This is a complex type.
 */
public interface StartbatchDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(StartbatchDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACCFD3B2EF683481B2869BA753BE2C").resolveHandle("startbatchec2adoctype");
    
    /**
     * Gets the "startbatch" element
     */
    com.clickatell.api.soap.webservice.StartbatchDocument.Startbatch getStartbatch();
    
    /**
     * Sets the "startbatch" element
     */
    void setStartbatch(com.clickatell.api.soap.webservice.StartbatchDocument.Startbatch startbatch);
    
    /**
     * Appends and returns a new empty "startbatch" element
     */
    com.clickatell.api.soap.webservice.StartbatchDocument.Startbatch addNewStartbatch();
    
    /**
     * An XML startbatch(@http://api.clickatell.com/soap/webservice).
     *
     * This is a complex type.
     */
    public interface Startbatch extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Startbatch.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACCFD3B2EF683481B2869BA753BE2C").resolveHandle("startbatch46f6elemtype");
        
        /**
         * Gets the "cliMsgId" element
         */
        java.lang.String getCliMsgId();
        
        /**
         * Gets (as xml) the "cliMsgId" element
         */
        org.apache.xmlbeans.XmlString xgetCliMsgId();
        
        /**
         * Sets the "cliMsgId" element
         */
        void setCliMsgId(java.lang.String cliMsgId);
        
        /**
         * Sets (as xml) the "cliMsgId" element
         */
        void xsetCliMsgId(org.apache.xmlbeans.XmlString cliMsgId);
        
        /**
         * Gets the "template" element
         */
        java.lang.String getTemplate();
        
        /**
         * Gets (as xml) the "template" element
         */
        org.apache.xmlbeans.XmlString xgetTemplate();
        
        /**
         * Sets the "template" element
         */
        void setTemplate(java.lang.String template);
        
        /**
         * Sets (as xml) the "template" element
         */
        void xsetTemplate(org.apache.xmlbeans.XmlString template);
        
        /**
         * Gets the "api_id" element
         */
        int getApiId();
        
        /**
         * Gets (as xml) the "api_id" element
         */
        org.apache.xmlbeans.XmlInt xgetApiId();
        
        /**
         * Sets the "api_id" element
         */
        void setApiId(int apiId);
        
        /**
         * Sets (as xml) the "api_id" element
         */
        void xsetApiId(org.apache.xmlbeans.XmlInt apiId);
        
        /**
         * Gets the "queue" element
         */
        int getQueue();
        
        /**
         * Gets (as xml) the "queue" element
         */
        org.apache.xmlbeans.XmlInt xgetQueue();
        
        /**
         * Sets the "queue" element
         */
        void setQueue(int queue);
        
        /**
         * Sets (as xml) the "queue" element
         */
        void xsetQueue(org.apache.xmlbeans.XmlInt queue);
        
        /**
         * Gets the "session_id" element
         */
        java.lang.String getSessionId();
        
        /**
         * Gets (as xml) the "session_id" element
         */
        org.apache.xmlbeans.XmlString xgetSessionId();
        
        /**
         * Sets the "session_id" element
         */
        void setSessionId(java.lang.String sessionId);
        
        /**
         * Sets (as xml) the "session_id" element
         */
        void xsetSessionId(org.apache.xmlbeans.XmlString sessionId);
        
        /**
         * Gets the "mo" element
         */
        int getMo();
        
        /**
         * Gets (as xml) the "mo" element
         */
        org.apache.xmlbeans.XmlInt xgetMo();
        
        /**
         * Sets the "mo" element
         */
        void setMo(int mo);
        
        /**
         * Sets (as xml) the "mo" element
         */
        void xsetMo(org.apache.xmlbeans.XmlInt mo);
        
        /**
         * Gets the "req_feat" element
         */
        int getReqFeat();
        
        /**
         * Gets (as xml) the "req_feat" element
         */
        org.apache.xmlbeans.XmlInt xgetReqFeat();
        
        /**
         * Sets the "req_feat" element
         */
        void setReqFeat(int reqFeat);
        
        /**
         * Sets (as xml) the "req_feat" element
         */
        void xsetReqFeat(org.apache.xmlbeans.XmlInt reqFeat);
        
        /**
         * Gets the "msg_type" element
         */
        java.lang.String getMsgType();
        
        /**
         * Gets (as xml) the "msg_type" element
         */
        org.apache.xmlbeans.XmlString xgetMsgType();
        
        /**
         * Sets the "msg_type" element
         */
        void setMsgType(java.lang.String msgType);
        
        /**
         * Sets (as xml) the "msg_type" element
         */
        void xsetMsgType(org.apache.xmlbeans.XmlString msgType);
        
        /**
         * Gets the "unicode" element
         */
        int getUnicode();
        
        /**
         * Gets (as xml) the "unicode" element
         */
        org.apache.xmlbeans.XmlInt xgetUnicode();
        
        /**
         * Sets the "unicode" element
         */
        void setUnicode(int unicode);
        
        /**
         * Sets (as xml) the "unicode" element
         */
        void xsetUnicode(org.apache.xmlbeans.XmlInt unicode);
        
        /**
         * Gets the "data" element
         */
        java.lang.String getData();
        
        /**
         * Gets (as xml) the "data" element
         */
        org.apache.xmlbeans.XmlString xgetData();
        
        /**
         * Sets the "data" element
         */
        void setData(java.lang.String data);
        
        /**
         * Sets (as xml) the "data" element
         */
        void xsetData(org.apache.xmlbeans.XmlString data);
        
        /**
         * Gets the "from" element
         */
        java.lang.String getFrom();
        
        /**
         * Gets (as xml) the "from" element
         */
        org.apache.xmlbeans.XmlString xgetFrom();
        
        /**
         * Sets the "from" element
         */
        void setFrom(java.lang.String from);
        
        /**
         * Sets (as xml) the "from" element
         */
        void xsetFrom(org.apache.xmlbeans.XmlString from);
        
        /**
         * Gets the "escalate" element
         */
        int getEscalate();
        
        /**
         * Gets (as xml) the "escalate" element
         */
        org.apache.xmlbeans.XmlInt xgetEscalate();
        
        /**
         * Sets the "escalate" element
         */
        void setEscalate(int escalate);
        
        /**
         * Sets (as xml) the "escalate" element
         */
        void xsetEscalate(org.apache.xmlbeans.XmlInt escalate);
        
        /**
         * Gets the "password" element
         */
        java.lang.String getPassword();
        
        /**
         * Gets (as xml) the "password" element
         */
        org.apache.xmlbeans.XmlString xgetPassword();
        
        /**
         * Sets the "password" element
         */
        void setPassword(java.lang.String password);
        
        /**
         * Sets (as xml) the "password" element
         */
        void xsetPassword(org.apache.xmlbeans.XmlString password);
        
        /**
         * Gets the "concat" element
         */
        int getConcat();
        
        /**
         * Gets (as xml) the "concat" element
         */
        org.apache.xmlbeans.XmlInt xgetConcat();
        
        /**
         * Sets the "concat" element
         */
        void setConcat(int concat);
        
        /**
         * Sets (as xml) the "concat" element
         */
        void xsetConcat(org.apache.xmlbeans.XmlInt concat);
        
        /**
         * Gets the "deliv_ack" element
         */
        int getDelivAck();
        
        /**
         * Gets (as xml) the "deliv_ack" element
         */
        org.apache.xmlbeans.XmlInt xgetDelivAck();
        
        /**
         * Sets the "deliv_ack" element
         */
        void setDelivAck(int delivAck);
        
        /**
         * Sets (as xml) the "deliv_ack" element
         */
        void xsetDelivAck(org.apache.xmlbeans.XmlInt delivAck);
        
        /**
         * Gets the "max_credits" element
         */
        float getMaxCredits();
        
        /**
         * Gets (as xml) the "max_credits" element
         */
        org.apache.xmlbeans.XmlFloat xgetMaxCredits();
        
        /**
         * Sets the "max_credits" element
         */
        void setMaxCredits(float maxCredits);
        
        /**
         * Sets (as xml) the "max_credits" element
         */
        void xsetMaxCredits(org.apache.xmlbeans.XmlFloat maxCredits);
        
        /**
         * Gets the "validity" element
         */
        int getValidity();
        
        /**
         * Gets (as xml) the "validity" element
         */
        org.apache.xmlbeans.XmlInt xgetValidity();
        
        /**
         * Sets the "validity" element
         */
        void setValidity(int validity);
        
        /**
         * Sets (as xml) the "validity" element
         */
        void xsetValidity(org.apache.xmlbeans.XmlInt validity);
        
        /**
         * Gets the "udh" element
         */
        java.lang.String getUdh();
        
        /**
         * Gets (as xml) the "udh" element
         */
        org.apache.xmlbeans.XmlString xgetUdh();
        
        /**
         * Sets the "udh" element
         */
        void setUdh(java.lang.String udh);
        
        /**
         * Sets (as xml) the "udh" element
         */
        void xsetUdh(org.apache.xmlbeans.XmlString udh);
        
        /**
         * Gets the "callback" element
         */
        int getCallback();
        
        /**
         * Gets (as xml) the "callback" element
         */
        org.apache.xmlbeans.XmlInt xgetCallback();
        
        /**
         * Sets the "callback" element
         */
        void setCallback(int callback);
        
        /**
         * Sets (as xml) the "callback" element
         */
        void xsetCallback(org.apache.xmlbeans.XmlInt callback);
        
        /**
         * Gets the "user" element
         */
        java.lang.String getUser();
        
        /**
         * Gets (as xml) the "user" element
         */
        org.apache.xmlbeans.XmlString xgetUser();
        
        /**
         * Sets the "user" element
         */
        void setUser(java.lang.String user);
        
        /**
         * Sets (as xml) the "user" element
         */
        void xsetUser(org.apache.xmlbeans.XmlString user);
        
        /**
         * Gets the "deliv_time" element
         */
        int getDelivTime();
        
        /**
         * Gets (as xml) the "deliv_time" element
         */
        org.apache.xmlbeans.XmlInt xgetDelivTime();
        
        /**
         * Sets the "deliv_time" element
         */
        void setDelivTime(int delivTime);
        
        /**
         * Sets (as xml) the "deliv_time" element
         */
        void xsetDelivTime(org.apache.xmlbeans.XmlInt delivTime);
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static com.clickatell.api.soap.webservice.StartbatchDocument.Startbatch newInstance() {
              return (com.clickatell.api.soap.webservice.StartbatchDocument.Startbatch) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static com.clickatell.api.soap.webservice.StartbatchDocument.Startbatch newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (com.clickatell.api.soap.webservice.StartbatchDocument.Startbatch) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.clickatell.api.soap.webservice.StartbatchDocument newInstance() {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.clickatell.api.soap.webservice.StartbatchDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.clickatell.api.soap.webservice.StartbatchDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
